package com.itzb.asone.system.service;

import java.util.List;
import java.util.Map;

import com.itzb.asone.mybatis.Criteria;
import com.itzb.asone.system.model.SysDict;

public interface ISysDictService {

	List<SysDict> queryPage(Criteria<SysDict> param);

	Integer queryPageCount(Criteria<SysDict> param);

	SysDict queryEntityById(String id);

	Integer insert(SysDict record);

	Integer updateByCriteria(Criteria<SysDict> param);

	Integer deleteById(String id);

	Integer deleteByCriteria(Criteria<SysDict> param);
	
	Map<String, Object> translateToMap(Object obj);
	
	List<Map<String, Object>> translateToMapList(List<Map<String, Object>> data, Map<String, String> transColumns);
	
	Map<String, Object> translateToMap(Map<String, Object> obj, Map<String, String> transColumns);
	
	<T> List<Map<String, Object>> translateToMapList(List<T> data);

}
